package com.itheima.Test;
//冰箱类继承电器类;
public class refrigerator extends DianQiLei {
    private String MenKuanShi;
    private String  ZhiLengFangShi;
    //空参构造方法;
    public refrigerator() {
    }

    //有参构造方法;
    public refrigerator(String name, String xinghao, String color, double price, String menKuanShi, String zhiLengFangShi) {
        super(name, xinghao, color, price);
        MenKuanShi = menKuanShi;
        ZhiLengFangShi = zhiLengFangShi;
    }

    public String getMenKuanShi() {
        return MenKuanShi;
    }

    public void setMenKuanShi(String menKuanShi) {
        MenKuanShi = menKuanShi;
    }

    public String getZhiLengFangShi() {
        return ZhiLengFangShi;
    }

    public void setZhiLengFangShi(String zhiLengFangShi) {
        ZhiLengFangShi = zhiLengFangShi;
    }
}
